feat: Replace elixir-ls with Expert, the official Elixir LSP#15513
Open
matthewlehner wants to merge 1 commit intoanomalyco:devfrom
Open
feat: Replace elixir-ls with Expert, the official Elixir LSP#15513matthewlehner wants to merge 1 commit intoanomalyco:devfrom
matthewlehner wants to merge 1 commit intoanomalyco:devfrom
Conversation
Expert [1] is the official language server for Elixir, announced by the Elixir core team and hosted under the elixir-lang GitHub org. It ships as a pre-compiled binary, so unlike elixir-ls it no longer requires a local Elixir installation to bootstrap the LSP, and installs in seconds rather than minutes. - Replace the ElixirLS server definition with Expert, which auto-downloads the latest release from GitHub - Add .heex (Phoenix HEEx templates) to supported extensions - Add .heex -> phoenix-heex language mapping - Update the LSP docs table across all 18 locales This is a breaking change for users who had "elixir-ls" overrides in their opencode.json config — they will need to update the key to "expert". [1] https://github.com/elixir-lang/expert https://expert-lsp.org
Contributor
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #15512
Type of change
What does this PR do?
This updates the Elixir language server to use Expert and adds support for heex files.
How did you verify your code works?
I ran my local version of and did some work in an Elixir repo.
Screenshots / recordings
Here is a screenshot of me running a local version of OpenCode with expert running after opening an elixir file:

Here's a screenshot of the process details in Activity Monitor on MacOS:

Checklist
If you do not follow this template your PR will be automatically rejected.